<div class="contentNewsLeft">

    <div id="ContentPlaceHolder1_up1">



        <div class="">
            <div class="boxNewsTop"></div>
            <div class="boxNewstMiddle">
                <div class="titleNews">
                    <h2>TIN TỨC</h2>
                </div>
                <?php if (isset($article) && $article != null): ?>
                    <div class="newsLargeItem-1" align="left">
                        <div>
                            <div class="titleBlue"><?php echo $this->escapeHtml($article->title); ?></div>
                            <div class="datePost">Ngày đăng:
                                <?php
                                $dateCreated = new DateTime($article->dateCreated);
                                echo $this->escapeHtml($dateCreated->format('d-m-Y'));
                                ?>
                            </div>            
                            <?php echo $article->contentDetail ?>         
                        </div>
                    </div>
                <?php endif; ?>
                <div>
                    <div class="labelNewsPosted">Các tin đã đưa</div>
                    <?php if (isset($listNewArticle) && $listNewArticle != null): ?>
                        <?php foreach ($listNewArticle as $row): ?>
                            <a class="linkNewsPosted" href="<?php echo $this->url('view-article/process', array('action' => 'articleDetail', 'id' => $row->articleID)) ?>">
                                <?php echo $this->escapeHtml($row->title); ?>
                                <span>
                                    <?php
                                    $dateCreated = new DateTime($row->dateCreated);
                                    echo $this->escapeHtml($dateCreated->format('d-m-Y'));
                                    ?>
                                </span>
                            </a>
                        <?php endforeach; ?>
                    <?php endif; ?>
                    <div class="pages">                       
                    </div>
                </div>
            </div>
        </div>
        <div class="boxNewsBottom"></div>
    </div>


</div>

